-- GENERATED SPELL FOR [Shambling Zombie] --


function spell0_32503(pUnit, Event) --@Plague Blast,Self--
pUnit:FullCastSpellOnTarget(61095,pUnit)
pUnit:RegisterEvent('Sorts_32503', 13000, 1)
end

function Sorts_32503(pUnit, Event)
local choix_sorts_32503 = math.random(0, 0)
if choix_sorts_32503 == 0 then
pUnit:RegisterEvent('spell0_32503', 1, 1)
end
end

function mob32503_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32503', math.random(1500, 3000), 1)
end

function mob32503_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32503_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32503_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32503, 1, 'mob32503_Action')
RegisterUnitEvent(32503, 2, 'mob32503_Leave')
RegisterUnitEvent(32503, 3, 'mob32503_Kill')
RegisterUnitEvent(32503, 4, 'mob32503_Die')
